//
//  PPTopic.h
//  PetParadise
//
//  Created by 陈无忌 on 8/9/14.
//  Copyright (c) 2014 whalefin. All rights reserved.
//

#import "JSONModel.h"
#import "PPComment.h"
#import "PPTopicImage.h"
#import "PPUserInfo.h"
#import "supportingHeadFiles.h"

@protocol PPTopic
@end

@interface PPTopic : JSONModel


@property (nonatomic) int id;//topicId
@property (nonatomic, strong) NSString *publicDate;
@property (nonatomic, strong) NSString<Optional> *lastDate;
//user Info
@property (nonatomic) int userId;
@property (nonatomic, strong) NSString *content;
@property (nonatomic, strong) NSArray<PPTopicImage, Optional> *topicImgList;
@property (nonatomic, strong) NSArray<PPComment, Optional> *replyNum;
@property (nonatomic, strong) NSArray<Optional> *topicLikeNum;
@property (nonatomic, strong) NSArray<PPUserInfo,Optional> *userList;
@property (nonatomic) int totalCount;
@property (nonatomic, strong) NSString<Optional> *keyword;

@end
